# (9) round()

# num = 3.1415926
# print(round(num, 2))
# print(round(num, 3))


# (10) divmod()
# print(5 / 2)
# print(5 % 3)
# print(divmod(5, 3))
# print(divmod(5, 2))

# (11) enumerate
# n = 1
# for i in [111, 222, 333]:
#     print(f"{n}. {i}")
#     n += 1

# l = [111, 222, 333]
# print(list(enumerate(l, 1)))
#
# for index, val in enumerate(l, 1):
#     print(index, val)

# (12) eval
# print(1 + 2 * 3 - (5 - 6) * 34)
# exp = "1 + 2 * 3 - (5 - 6) * 34"
# print(eval(exp))

# (13) ord chr

# print(ord("A"))
# print(ord("a"))
# print(ord("b"))
# print(ord("z"))
#
# print(chr(122))
# print(chr(97))

# (14) reversed

# l = [1, 2, 3]
# l.reverse()
# print(l)
# l = [1, 2, 3]
# t = (33, 2, 18)
# print(list(reversed(l)))
# print(list(reversed(t)))
